<!DOCTYPE html>
<html lang="en">
<head>
<base href=""/>
  <meta charset="UTF-8">
  <title>线路审核</title>
  <link type="text/css" rel="stylesheet" href="../static/css/bootstrap.min.css"/>
  <link type="text/css" rel="stylesheet" href="../static/css/fileinput.min.css"/>
  <link type="text/css" rel="stylesheet" href="../static/css/common.css"/>
  
  <script type='text/javascript' src='../static/js/jquery-1.10.2.min.js'></script>
  <script type='text/javascript' src='../static/js/jquery.form.js'></script>
  <script type='text/javascript' src='../static/js/jquery.tips.js'></script>
  <script type='text/javascript' src='../static/js/bootstrap.min.js'></script>
  <script type='text/javascript' src='../static/js/fileinput.js'></script>
  <script type='text/javascript' src='../static/js/zh.min.js'></script>
  <script type="text/javascript" src="../static/js/common.js"></script>
  <script type="text/javascript" src="../static/js/newAdd.js"></script>
  <script type="text/javascript" src="../static/js/messageContent.js"></script>
  <script type="text/javascript" src="../static/js/balance/lineReview.js"></script>
  <script type="text/javascript" src="../static/table/lineReviewTable.js"></script>
</head>
<body>
<div class="top">
  	当前位置: 每日审核<span class="comSpanTitle">></span><span style="color:#333333">线路审核</span>
</div>
<div class="scrollBody">
	<div class="partWhite paddingBottomTen bottonLine">
		<form class="form-horizontal" id="lineReviewSearch">
			<input id="startChargingTime" name="StartChargingDate" hidden="hidden"/>
			<input id="endChargingTime" name="EndChargingDate" hidden="hidden"/>
			<input id="reviewDate" name="ReviewDate" hidden="hidden"/>
			<input id="lineIDList" name="lineIDList" hidden="hidden"/>
			<input id="chargingStationIDList" name="chargingStationIDList" hidden="hidden"/>
			<div class="partTable" id="dayList">
			</div>
			<div class="partTable" style="margin-bottom: 10px;margin-top: 5px;">
				<label for="branchCompanyID" class="col-sm-1 control-label partConditionTitle">运营公司</label>
				<div class="col-sm-2 partCondition">
					<select id="branchCompanyID" name="BranchCompanyID" class="form-control" onchange="changeBranch()">
						<option value='' selected="selected">请选择</option>
					</select>
				</div>
				<div id="changeSubBranch"  hidden="hidden">
					<label for="SubBranchCompanyID" class="col-sm-1 control-label partConditionTitle">分公司</label>
					<div class="col-sm-2 partCondition">
						<select id="SubBranchCompanyID" name="SubBranchCompanyID" class="form-control" onchange="changeCarTeam()">
							<option value='' selected="selected">请选择</option>
						</select>
					</div>
				</div>
		        <div id="changeTeam"  hidden="hidden">
					<label for="TeamID" class="col-sm-1 control-label partConditionTitle">车队</label>
					<div class="col-sm-2">
						<select id="TeamID" name="TeamID" class="form-control" onchange="changeLine()">
		                    <option value='' selected="selected">请选择</option>
						</select>
					</div>
				</div>
				<div id="changeLine"  hidden="hidden">
					<label for="LineID" class="col-sm-1 control-label partConditionTitle">所属线路</label>
					<div class="col-sm-2">
						<select id="LineID" name="LineID" class="form-control">
							<option value="" selected="selected">请选择</option>
						</select>
					</div>
				</div>
	   	 		<button type="button" onclick="search()" class="btn btnDefault marginLeft2ten">
	   	 			查询
		 		</button>
			</div>
		</form>
	</div>
	
    <div class="partWhite paddingBottomTen" id="lineHeight" style="margin-top: 19px;height: 87%;">
		<div class="col-sm-12">
			<button class="btn btnDefault marginLeft2ten" type="button" style="float:right;" onclick="importFile()">
	     		导入
	   		 </button>
	   		 <button class="btn btnDefault marginLeft2ten" type="button" style="float:right;" onclick="exportFile()">
	     		导出
	   		 </button>
	   		 <button class="btn btnDefault marginLeft2ten" type="button" style="float:right;" onclick="save()">
	     		添加
	   		 </button>
		</div>
		<div class="partTable">
			<table class="table table-hover" id="lineReviewTable">
				<thead id="lineReviewThead">
				</thead>
				<tbody id="lineReviewTbody">
				</tbody>
			</table>
		</div>
	</div>
</div>

  <div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" data-backdrop="static" id="save" tabindex="-1" class="modal fade popup">
	<div class = "popupTable" id="alertAdd">
		<div class="modal-header titleAll">
		  <button type="button" class="close" data-dismiss="modal" aria-label="Close">
		    <span aria-hidden="true" class="close">&times;</span>
		  </button>
		  <h4 class="modal-title" id="title"></h4>
		</div>
        <form id="saveForm">
           <input id="addReviewDate" name="ReviewDate" hidden="hidden"/>
           <input id="reviewWay" name="ReviewWay" value="entering" hidden="hidden"/>
           <input name="ReviewState" value="1" hidden="hidden"/>
           <div class="transverseLine"></div>
            <div class="partTable powerPartTable">
	          	<div class="col-sm-12">
		        	<div class="col-sm-12" id="detailOneBody">
		        	</div>
	        	</div>
        	</div>
        </form>
        <div class="modal-footer" id="titleAll">
			<button id="saveBtn" type="button" class="btn btn-primary" onclick="$ajax('saveManualReview', 'saveForm', saveManualReview, checkThis)">保存</button>
			<button id="saveCancelBtn" type="button" class="btn btn-danger" data-dismiss="modal">取消</button>
    	</div>
	</div>
  </div>
  <div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" data-backdrop="static" id="fileinputModal" tabindex="-1" class="modal fade popup1">
	<div class="popupFileInput">
		<div class="modal-header">
			<button type="button" class="close" data-dismiss="modal" aria-label="Close">
				<span aria-hidden="true" class="close">&times;</span>
			</button>
			<h4 class="fileInputTitle" id="fileinputTitle">电量凭证文件上传</h4>
		</div>
		<div class="modal-body fileInputBody">
			<form id="importFileForm" class="form-horizontal" method="post" enctype="multipart/form-data">
			</form>
		</div>
		<div class="modal-footer fileInputFooter">
			<button type="button" class="btn btn-primary" onclick="confirm();">确定</button>
			<button type="button" class="btn btn-danger" data-dismiss="modal">取消</button>
		</div>
	</div>
  </div>
  <div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" data-backdrop="static" id="importFileModal" tabindex="-1" class="modal fade popup1">
	<div class="popupFileInput">
		<div class="modal-header">
			<button type="button" class="close" data-dismiss="modal" aria-label="Close">
				<span aria-hidden="true" class="close">&times;</span>
			</button>
			<h4 class="fileInputTitle">手抄文件上传</h4>
		</div>
		<div class="modal-body fileInputBody">
			<form id="importForm" class="form-horizontal" method="post" enctype="multipart/form-data">
			</form>
		</div>
		<div class="modal-footer fileInputFooter">
			<button type="button" class="btn btn-primary" onclick="sureImport();">确定</button>
			<button type="button" class="btn btn-danger" data-dismiss="modal">取消</button>
		</div>
	</div>
  </div>
</body>
</html>
